//
//  Customer.h
//  lzl4-14
//
//  Created by 刘振霖 on 16/4/14.
//  Copyright © 2016年 lzl. All rights reserved.
//

#import <Foundation/Foundation.h>

//首先定义协议
@protocol eatMaLatang <NSObject>

//必须执行
@required
- (void)pay:(double)money;//定义价格
- (void)getfoods:(NSString *)str;


@optional
- (void)otherfoods;

@end


@interface Customer : NSObject
@property (weak,nonatomic) id<eatMaLatang> delegate;//id是一个指针      delegate对象

- (void)comeToSnackBar;

@end
